Eventually, the cavity is extended into the soft pulp, where the destruction of pulp tissues leads to inflammation and infection.